package com.kgc.travel.mapper;

import com.kgc.travel.pojo.Associated;
import com.kgc.travel.pojo.AssociatedExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AssociatedMapper {
    int countByExample(AssociatedExample example);

    int deleteByExample(AssociatedExample example);

    int deleteByPrimaryKey(Integer associatedId);

    int insert(Associated record);

    int insertSelective(Associated record);

    List<Associated> selectByExample(AssociatedExample example);

    Associated selectByPrimaryKey(Integer associatedId);

    int updateByExampleSelective(@Param("record") Associated record, @Param("example") AssociatedExample example);

    int updateByExample(@Param("record") Associated record, @Param("example") AssociatedExample example);

    int updateByPrimaryKeySelective(Associated record);

    int updateByPrimaryKey(Associated record);
}